package com.ning.parking.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ning.parking.domain.ParkingUserInfo;
import com.ning.parking.domain.VO.Pagination;
import com.ning.parking.domain.dto.ParkingUserInfoDto;

/**
*
*/
public interface ParkingUserInfoService extends IService<ParkingUserInfo> {

    /**
     * 用户登入
     * @param parkingUserInfo
     * @return
     */
    String login(ParkingUserInfo parkingUserInfo);

    /**
     * 添加用户
     * @param parkingUserInfo
     * @return
     */
    ParkingUserInfo saveUser(ParkingUserInfo parkingUserInfo);

    /**
     *
     * @param parkingUserInfo
     * @return
     */
    Pagination<ParkingUserInfo> userPage(ParkingUserInfoDto parkingUserInfo);

    void logout(String token);
}
